﻿// -----------------------------------------------------------------------
// <copyright file="IOException.cs" company="Company">
// Company 2011
// </copyright>
// -----------------------------------------------------------------------

using System;
using System.Runtime.InteropServices;
using Company.IO.Interfaces;

namespace Company.System.IO
{
    /// <summary>
    /// The exception that is thrown when an I/O error occurs.
    /// </summary>
    [Serializable]
    [Guid("7b85c7bf-17da-45d6-a86a-52cb50524e3e")]
    public class IOException : Exception, IIOException
    {
        /// <summary>
        /// Initializes a new instance of the IOException class
        /// </summary>
        /// <param name="systemIoConverter">The converter to use</param>
        /// <param name="ioException">The IOException object</param>
        public IOException(ISystemIoConverter systemIoConverter, global::System.IO.IOException ioException)
            : base(systemIoConverter, ioException)
        {
        }
    }
}